home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_jep_waterfallambient.cog < prev    next >
Text File  |  1999-11-15  |  834b  |  41 lines

  1. # Jones 3D Cog Script
  2. #
  3. # jep_waterfallAmbient.cog
  4. #
  5. # Plays a sound at a one or more locations
  6. #
  7. # [IS] Modified by DS.
  8. #
  9. # (C) 1999 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11.  
  12. symbols
  13.     message    timer
  14.     message    startup
  15.  
  16.     thing        soundPos0        nolink
  17.  
  18.     sound        wav0=gen_waterfall_a.wav            local
  19.     float        minDist=5.0                        local
  20.     float        maxDist=50                        local
  21.     float        volume=1.0                        local
  22. end
  23.  
  24. code
  25.  
  26. # ........................................................................................
  27.  
  28. startup:
  29.  
  30.     settimer(0.5);
  31.     return;
  32.  
  33. # ........................................................................................
  34.  
  35. timer:
  36.     PlaySoundThing(wav0, soundPos0, volume, minDist, maxDist, 0x045);
  37.     return;
  38.  
  39. end
  40.  
  41.